ActiveLock Constructor (LockScope, String, Int32, String, String, String) |
Initializes a new instance of the ActiveLock class.
Namespace:
Independentsoft.Webdav
Assembly:
Independentsoft.Webdav (in Independentsoft.Webdav.dll) Version: 1.0.700.18437
Syntaxpublic ActiveLock(
LockScope scope,
string depth,
int timeout,
string owner,
string type,
string token
)
Public Sub New (
scope As LockScope,
depth As String,
timeout As Integer,
owner As String,
type As String,
token As String
)
Parameters
- scope
- Type: Independentsoft.WebdavLockScope
The scope of the lock, exclusive or shared. - depth
- Type: SystemString
The depth of the lock. Allowed values are: Depth.Zero means only this resource is locked, Depth.Infinity means this resource and recursively all its subresources are locked. - timeout
- Type: SystemInt32
The lock timeout in seconds. - owner
- Type: SystemString
Contains useful information that can be used to identify the owner of the lock (ie. link to a home page, an e-mail address, phone number, etc.) - type
- Type: SystemString
The type of the lock. The only legal DAV value currently is "write". - token
- Type: SystemString
The lock token corresponding to a lock on a resource.
See Also